package com.da.web.school_major.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.da.cache.MyCache;
import com.da.web.school_major.entity.MajorList;
import com.da.web.school_major.entity.SchoolMajor;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Param;

/**
 * @author da
 * @time 2023/12/5 上午 11:11
 */
@CacheNamespace(implementation = MyCache.class, eviction = MyCache.class)
public interface SchoolMajorMapper extends BaseMapper<SchoolMajor> {
    IPage<SchoolMajor> getList(IPage<SchoolMajor> page, @Param("parm") MajorList majorList);
}
